package cn.itsource.pay.domain;

import cn.itsource.basic.domain.BaseDomain;
import cn.itsource.org.domain.Shop;
import cn.itsource.user.domain.User;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class PayBill extends BaseDomain{
   private String digest;
   private BigDecimal money;
   private Integer state;
   private Date lastPayTime;
   /* 1:支付宝  2：微信  3：银联，....*/
   private Integer payChannel;
   private Date createTime;
   private Date updateTime;
   private User user;
   private String nickName;
   /*第三方的支付单号*/
   private String unionPaySn;
   private String businessType;
   private Long businessKey;
   /*服务的商家*/
   private Shop shop;
   /*我们系统生成的单号*/
   private String orderSn;
}
